package com.demo.demo.entity;

import java.io.Serializable;

public class Class implements Serializable {
    /*使用redis 缓存 类要序列化 加入 序列化UID */
    private static final long serialVersionUID = -7498636630031552917L;

    private String id;

    private String classname;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname == null ? null : classname.trim();
    }

    @Override
    public String toString() {
        return "Class{" +
                "id='" + id + '\'' +
                ", classname='" + classname + '\'' +
                '}';
    }
}